# -*- codeing = utf-8 -*-
# @Time : 2021/2/21 15:17
# @Atuthor: 朱朱
# @File: 018进制之间的转换.py
# @Software: PyCharm

a = 255
print(bin(a))   # bin(),将数字转换成二进制0b
print(oct(a))   # oct(),将数字转换成八进制0o
print(hex(a))   # hex(),将数字转换成十六进制0x
